home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / include / sun4.md / sys / ptrace.h < prev   
C/C++ Source or Header  |  1990-11-13  |  2KB  |  63 lines

  1. /*
  2.  * sys/ptrace.h
  3.  *
  4.  *    Constants for ptrace system call.  Ptrace is not currently
  5.  *      implemented on Sprite.
  6.  *
  7.  * Copyright 1990 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.5 90/01/12 12:03:25 douglis Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _SYS_PTRACE_H
  20. #define _SYS_PTRACE_H
  21.  
  22. enum ptracereq {
  23.         PTRACE_TRACEME = 0,
  24.         PTRACE_CHILDDONE = 0,
  25.         PTRACE_PEEKTEXT = 1,
  26.         PTRACE_PEEKDATA = 2,
  27.         PTRACE_PEEKUSER = 3,
  28.         PTRACE_POKETEXT = 4,
  29.         PTRACE_POKEDATA = 5,
  30.         PTRACE_POKEUSER = 6,
  31.         PTRACE_CONT = 7,
  32.         PTRACE_KILL = 8,
  33.         PTRACE_SINGLESTEP = 9,
  34.         PTRACE_ATTACH = 10,
  35.         PTRACE_DETACH = 11,
  36.         PTRACE_GETREGS = 12,
  37.         PTRACE_SETREGS = 13,
  38.         PTRACE_GETFPREGS = 14,
  39.         PTRACE_SETFPREGS = 15,
  40.         PTRACE_READDATA = 16,
  41.         PTRACE_WRITEDATA = 17,
  42.         PTRACE_READTEXT = 18,
  43.         PTRACE_WRITETEXT = 19,
  44.         PTRACE_GETFPAREGS = 20,
  45.         PTRACE_SETFPAREGS = 21,
  46.         PTRACE_GETWINDOW = 22,
  47.         PTRACE_SETWINDOW = 23,
  48.         PTRACE_22 = 22,
  49.         PTRACE_23 = 23,
  50.         PTRACE_SYSCALL = 24,
  51.         PTRACE_DUMPCORE = 25,
  52.         PTRACE_SETWRBKPT = 26,
  53.         PTRACE_SETACBKPT = 27,
  54.         PTRACE_CLRDR7 = 28,
  55.         PTRACE_26 = 26,
  56.         PTRACE_27 = 27,
  57.         PTRACE_28 = 28,
  58.         PTRACE_GETUCODE = 29
  59. };
  60.  
  61. #endif /* SYS_PTRACE_H */
  62.  
  63.